ans = 1

num_input = input("")
num_list = num_input.split(",")
for item in num_list:
    ans *= eval(item)
print(ans)